package com.flyco.modules.stm.service;

import com.flyco.modules.oms.entity.OmsOrder;
import com.flyco.modules.oms.entity.StmJdSendOrder;
import com.flyco.modules.stm.entity.StmBizInoutRelation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.flyco.modules.stm.model.StmStockInoutExcel;

import java.util.List;

/**
 * @Description: 业务和出入库关联表
 * @Author: flyco
 * @Date: 2022-11-29
 * @Version: V1.0
 */
public interface IStmBizInoutRelationService extends IService<StmBizInoutRelation> {

    List<StmStockInoutExcel> getInoutItemRecord(Long inOutId);

    void InsertBySendOrderList(OmsOrder order,List<StmJdSendOrder> sendOrderList);

    void cancelByJdSendOrderList(List<StmJdSendOrder> sendOrderList);

    List<StmBizInoutRelation> getByOrderId(String orderId);
}
